home *** CD-ROM | disk | FTP | other *** search
/ Tech Arsenal 1 / Tech Arsenal (Arsenal Computer).ISO / tek-04 / vol11n07.zip / DEMO6 < prev    next >
Text File  |  1992-01-20  |  618b  |  25 lines

  1. # Update the resource if necessary
  2.  
  3. demo6.res: demo6.rc demo6.h
  4.     rc -r demo6.rc
  5.  
  6. # Update the object file if necessary
  7.  
  8. demo6.obj: demo6.c demo6.h
  9.     cl -Zi -c -AS -Gsw -Oas -Zpe demo6.c
  10.  
  11. # Update the executable file if necessary, and if so, add the resource back in.
  12.  
  13. demo6.exe: demo6.obj demo6.def
  14.     link /CODEVIEW /NOD demo6,,, penwin libw slibcew, demo6.def
  15.     rc demo6.res
  16.  
  17. # If the .res file is new and the .exe file is not, update the resource.
  18. # Note that the .rc file can be updated without having to either 
  19. # compile or link the file.
  20.  
  21. demo6.exe: demo6.res
  22.     rc demo6.res
  23.  
  24.  
  25.